package com.xken.example.service;

import com.xken.example.entity.Video;
import org.springframework.data.domain.Page;

import java.util.List;

public interface VideoService {

    long count();

    Video save(Video Video);

    void delete(Video Video);

    Iterable<Video> getAll();

    List<Video> getByName(String name);

    Page<Video> pageQuery(Integer pageNo, Integer pageSize, String kw);


    Page<Video> pageQueryByLabels(Integer pageNo, Integer pageSize, String labels);


}